#ifndef STRING_TO_NUM_H 
#define STRING_TO_NUM_H
#include <iostream>
#include <sstream>

template <class Type>
Type StringToNum(const std::string & str)
{
	std::istringstream iss(str);
	Type num;
	iss >> num;

	return num;
}

#endif
